package com.cxyd.modules.wms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.cxyd.common.entity.WmsBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 盘点调整库存
 *
 * @author lp
 * @since 1.0.0 2024-9-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("wms_log_check")
public class LogCheckEntity extends WmsBaseEntity {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 托盘条码
     */
    private String contNo;

    /**
     * 商品编号
     */
    private String spuNo;

    /**
     * 库存量
     */
    private BigDecimal stockQty;
    /**
     * 预分配量
     */
    private BigDecimal actQty;

    /**
     * 更新用户
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;
    /**
     * 更新日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;
    /**
     * 备注
     */
    private String comments;

    private String reelId;

    private String contLocateNo;
}